package com.alks.function.service.procurement;

import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.dto.procurement.SummaryALLDataDto;
import com.alks.function.data.request.procurement.SummaryRequest;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface SummaryOperationService {

    ResponseInfo getSummaryNumberList(SummaryRequest request);

    ResponseInfo getSummaryLotNoList(SummaryRequest request);

    ResponseInfo getSummaryMaterialList(SummaryRequest request);

    ResponseInfo getSummaryDetailList(SummaryRequest request);

    ResponseInfo getBondingSubmaterial(SummaryRequest request);

    ResponseInfo getNotSummaryLotNoList(SummaryRequest request);

    ResponseInfo getDeleteLotNoList();

    ResponseInfo recoverLotNo(String lotNo);

    ResponseInfo deleteNotSummaryLotNo(String lotNo);

    ResponseInfo deleteSummaryLotNo(String sumNo);

    ResponseInfo summaryOperation(SummaryALLDataDto request);

    void exportSummaryMaterialDetail(List<String> sumNo, HttpServletResponse response) throws IOException;

    ResponseInfo summaryOperationBatch(List<SummaryALLDataDto> request);

    ResponseInfo cleanNoSummaryData(String request);

    ResponseInfo cleanNoSummaryDataBatch(List<String> request);

    ResponseInfo cleanNoSummaryData2();

    ResponseInfo cleanNoSummaryData3();

    ResponseInfo cleanNoSummaryData4(String lotNo);

    ResponseInfo cleanNoSummaryData5(String lotNo);

//    ResponseInfo summaryDataExchange(String lotNo);

    ResponseInfo summaryDataExchange2(String lotNo);

    ResponseInfo summaryDataExchange3(List<String> list);

    ResponseInfo cleanNoSummaryDataBatch2(List<String> lotNos);


//    ResponseInfo summaryDataExchange3(String lotNo);
}
